<template>
  <div class="mui-numbox" data-numbox-min="1">
    <button class="mui-btn mui-btn-numbox-minus" type="button">-</button>
    <input id="test" class="mui-input-numbox" type="number" :value="carCount" ref="num" @change="getCount">
    <button class="mui-btn mui-btn-numbox-plus" type="button">+</button>
  </div>
</template>


<script>
// 导入mui 
import mui from "../../../lib/mui/js/mui.min.js";


export default {
  data: function() {
    return {
    
    };
  },
  mounted() {
    mui(".mui-numbox").numbox();
  },
  methods: {
  },
  props:['carCount','id']
};
</script>

<style lang="sass" scoped>

</style>
